package com.leeon.exception.exmaples;

class ExmapleException1 extends Exception{}
class ExmapleException2 extends Exception{}
class ExmapleException3 extends Exception{}


public class Exmaple9 {

    static void f() throws ExmapleException1,ExmapleException2,ExmapleException3 {
        throw new ExmapleException1();
    }

    public static void main(String[] args) {
        try {
            f();
        } catch (Exception e) {
            e.printStackTrace(System.out);
        }
    }

}
